//
// Unihan Input Method
//
// Copyright © 2002-2007 Sun Wah Linux Ltd.
//
//
// This library is free software; you can redistribute it and/or modify
// it under the terms of the GNU Lesser General Public License as
// published by the Free Software Foundation; either version 2.1 of the
// License, or (at your option) any later version.
//
// This library is distributed in the hope that it will be useful, but
// WITHOUT ANY WARRANTY; without even the implied warranty of
// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
// Lesser General Public License for more details.
//
// You should have received a copy of the GNU Lesser General Public
// License along with this program; if not, write to the Free Software
// Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307
// USA
//
// $Id: ui.h 769 2007-05-14 03:39:06Z roger $
//

#ifndef __UI_H
#define __UI_H

#include <iml/SunIM.h>

void status_update(iml_session_t *s);
void aux_start(iml_session_t *s, char *class_name);
void aux_done(iml_session_t *s, char *class_name);
void aux_beep(iml_session_t *s);
void aux_draw(iml_session_t *s, char *class_name, int count_integers, int *integers, int count_strings, UTFCHAR **strings);
void punc_keyboard_hide(iml_session_t *s);
void punc_keyboard_show(iml_session_t *s);
void us_keyboard_hide(iml_session_t *s);
void us_keyboard_show(iml_session_t *s);
void lost_focus_notify(iml_session_t *s);
void tooltip_update_im(iml_session_t *s);
void tooltip_update_width(iml_session_t *s, int is_full);
void tooltip_update_puncce(iml_session_t *s, int is_ch);
void tooltip_update_tcsc(iml_session_t *s);

#endif /* __UI_H */

// vi:ts=4:sw=4:nowrap:cin:expandtab
